<html>
<head>
<!-- include script widget script -->
<!-- in production this points ideally to the js hosted on the server -->
<link rel="stylesheet" type="text/css" href="style.css">
<script src="./glycocross.js"></script>

</head>
<body>

<h1>GlycoCross widget (dev version)</h1>
<p>Note: in this example only calls to glycobase and glycomedb are
simulated.</p>

<p><em>All the ajax requests are ONLY simulated!!</em></p>
<p>
To fiddle with the results (links, id etc)  edit ./json_data/*.js files
</p>


<div id="glyco_container"></div>


<script>
// local site script -- to be placed at the end of the page, or when the page is fully loaded
// it needs to access the dom element glyco_container 
// include server script above and call
// GlycoWidget.init(local database id, local database name)
// glycobase name has to be supported by the api
// 2222 could be really anything in the dev production, value is not actually used
GlycoWidget.init("2222",'glycobase');
</script>

</html>
